//
var TN_Widget = function() {
return {
//Options
newWindow : true,
linkText : "view
tickets",
tixUrl : "http://www.ticketnetwork.com/tix/",
trackingParams : "",
custLink : true,
//depricated
kbid : "",
//Overwrittable functions
trackingLink :"",
CreateCustomUrl : function(row) {
return this.tixUrl + row[7] + "-tickets-"+ row[6] + ".aspx";
},
CreateEventRow : function(row, isAlt) {
return "
" +
row[0] +" | " +
row[1] +" " +
row[2] +" | " +
row[3] +" " +
row[4] + " " +
row[5] + " | "+ this.linkText+ " |
";
},
AddCss: function(cssUrl) {
var fileref=document.createElement("link");
fileref.setAttribute("rel", "stylesheet");
fileref.setAttribute("type", "text/css");
fileref.setAttribute("href", cssUrl);
document.getElementsByTagName("head")[0].appendChild(fileref);
},
CreateTable : function(eventData,kywrds,url) {
if(typeof(TN_SetWidgetOptions) == "function")
TN_SetWidgetOptions();
//for backwards compatability
if(this.kbid != "")
this.trackingParams = "?img=249&kbid="+this.kbid;
var newTable = [];
for(var cntr = 0; cntr < eventData.length; cntr++)
newTable.push(this.CreateEventRow(eventData[cntr], cntr % 2 == 1));
var objToAddTo;
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML = '' + newTable.join('') + '
';
} else
document.write('' + newTable.join('') + '
');
if(eventData.length >= 100 && kywrds != undefined) {
if(objToAddTo = document.getElementById("tn_results_container")) {
objToAddTo.innerHTML += '';
} else {
document.write("");
}
}
if(eventData.length > 0) {
document.getElementById("previewNote").style.display = "none";
}
}
};
}();
//BPW-TNSERV-03B
TN_Widget.CreateTable([['Chase & Status','The Regency Ballroom','San Francisco, CA','Thursday','5/30/2024','8:00 PM','6334999','Chase---Status-5-30-2024'],['Chase & Status','The Regency Ballroom','San Francisco, CA','Friday','5/31/2024','9:00 PM','6332215','Chase---Status-5-31-2024'],['The Damned','The Regency Ballroom','San Francisco, CA','Thursday','6/6/2024','8:00 PM','6289513','The-Damned-6-6-2024'],['DIIV','The Regency Ballroom','San Francisco, CA','Friday','6/7/2024','9:00 PM','6289833','DIIV-6-7-2024'],['Frank Turner and The Sleeping Souls','The Regency Ballroom','San Francisco, CA','Monday','6/10/2024','6:30 PM','6254009','Frank-Turner-and-The-Sleeping-Souls-6-10-2024'],['Santiago Cruz','The Regency Ballroom','San Francisco, CA','Thursday','6/20/2024','8:00 PM','6346772','Santiago-Cruz-6-20-2024'],['d4vd','The Regency Ballroom','San Francisco, CA','Tuesday','6/25/2024','8:00 PM','6330627','d4vd-6-25-2024'],['JXDN','The Regency Ballroom','San Francisco, CA','Friday','7/26/2024','8:00 PM','6344082','JXDN-7-26-2024'],['Shakey Graves','The Regency Ballroom','San Francisco, CA','Tuesday','8/13/2024','8:00 PM','6371040','Shakey-Graves-8-13-2024'],['Caloncho','The Regency Ballroom','San Francisco, CA','Sunday','8/18/2024','8:00 PM','6264604','Caloncho-8-18-2024'],['Streetlight Manifesto','The Regency Ballroom','San Francisco, CA','Saturday','8/24/2024','7:30 PM','6430888','Streetlight-Manifesto-8-24-2024'],['$NOT','The Regency Ballroom','San Francisco, CA','Sunday','8/25/2024','6:30 PM','6428071','-NOT-8-25-2024'],['Have a Nice Life','The Regency Ballroom','San Francisco, CA','Saturday','8/31/2024','8:30 PM','6418398','Have-a-Nice-Life-8-31-2024'],['Jazmin Bean','The Regency Ballroom','San Francisco, CA','Thursday','9/12/2024','8:00 PM','6459030','Jazmin-Bean-9-12-2024'],['Kishi Bashi','The Regency Ballroom','San Francisco, CA','Sunday','9/15/2024','8:00 PM','6450253','Kishi-Bashi-9-15-2024'],['Gioli & Assia','The Regency Ballroom','San Francisco, CA','Saturday','9/21/2024','9:00 PM','6358854','Gioli---Assia-9-21-2024'],['The Lox','The Regency Ballroom','San Francisco, CA','Sunday','9/22/2024','8:00 PM','6357155','The-Lox-9-22-2024'],['Lamp','The Regency Ballroom','San Francisco, CA','Tuesday','10/1/2024','8:30 PM','6443355','Lamp-10-1-2024'],['Novo Amor','The Regency Ballroom','San Francisco, CA','Friday','10/4/2024','9:30 PM','6243601','Novo-Amor-10-4-2024'],['Griff','The Regency Ballroom','San Francisco, CA','Sunday','10/6/2024','8:00 PM','6408127','Griff-10-6-2024'],['KK'S Priest','The Regency Ballroom','San Francisco, CA','Monday','10/7/2024','7:45 PM','6427399','KK-S-Priest-10-7-2024'],['Wild Rivers','The Regency Ballroom','San Francisco, CA','Wednesday','10/9/2024','8:00 PM','6412733','Wild-Rivers-10-9-2024'],['Soul Asylum','The Regency Ballroom','San Francisco, CA','Thursday','10/10/2024','8:00 PM','6458993','Soul-Asylum-10-10-2024'],['You Should Be Dancing - A Tribute to the Bee Gees','The Regency Ballroom','San Francisco, CA','Saturday','10/19/2024','9:00 PM','6216260','You-Should-Be-Dancing---A-Tribute-to-the-Bee-Gees-10-19-2024'],['La Santa Grifa & Dharius','The Regency Ballroom','San Francisco, CA','Thursday','10/24/2024','7:30 PM','6340700','La-Santa-Grifa---Dharius-10-24-2024'],['Marc Rebillet','The Regency Ballroom','San Francisco, CA','Wednesday','10/30/2024','8:00 PM','6416103','Marc-Rebillet-10-30-2024'],['Marc Rebillet','The Regency Ballroom','San Francisco, CA','Thursday','10/31/2024','8:00 PM','6402932','Marc-Rebillet-10-31-2024'],['Marc Rebillet','The Regency Ballroom','San Francisco, CA','Friday','11/1/2024','9:00 PM','6402933','Marc-Rebillet-11-1-2024'],['The Blood Brothers','The Regency Ballroom','San Francisco, CA','Saturday','11/2/2024','9:00 PM','6443666','The-Blood-Brothers-11-2-2024'],['The Blood Brothers','The Regency Ballroom','San Francisco, CA','Sunday','11/3/2024','8:00 PM','6443667','The-Blood-Brothers-11-3-2024'],['Homeshake','The Regency Ballroom','San Francisco, CA','Monday','11/4/2024','8:00 PM','6297034','Homeshake-11-4-2024'],['La Femme - Band','The Regency Ballroom','San Francisco, CA','Monday','11/25/2024','8:00 PM','6270371','La-Femme---Band-11-25-2024'],['Monet X Change','The Regency Ballroom','San Francisco, CA','Monday','1/13/2025','8:00 PM','6312948','Monet-X-Change-1-13-2025'],['Devin Townsend','The Regency Ballroom','San Francisco, CA','Tuesday','3/25/2070','TBD','4242782','Devin-Townsend-3-25-2070']],'Lodge at the Regency','http://www.ticketnetwork.com/ticket/Lodge-at-the-Regency-events.aspx');